package com.atguigu.gmall.feign.bing;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lfy
 * @Description
 * @create 2023-08-02 9:08
 */
@FeignClient(value = "bing",url = "https://cn.bing.com/")
public interface BingSearchFeignClient {

    @GetMapping("/search")
    String search(@RequestParam("q") String q);
}
